<?php
session_start();
require '../nette/Nette/loader.php';
require '../db.php';
require '../localization/lang.php';
require '../core/core.sanitizer.php';
require '../core/core.security.php';
require '../core/core.time.php';
require '../visual/visual.tasks.php';

$login=new core_security;
if ($login->checklogin()=="OK") {

if (isset($_POST['value'])) {

$query="update users set start_time='".$_POST['value']."' WHERE id=".$_SESSION['uid']."";
$result=mysql_query($query);

}




}
?>
